package edu.java.homework.hw10.tests;

public class MyClass {

    public static void main(String[] args) {

	try {
	    throw new java.lang.Exception("Yuhuu");
	    // doSomething();
	} catch (NullPointerException npe) {
	    System.out.println("NullPointerException");
	} catch (java.lang.Exception e) {
	    System.out.println("Exception");
	}
	System.out.println("Finish");
    }

    public static void doSomething() throws NullPointerException {
	throw new NullPointerException();
	// throw new Exception("Yooo");
    }

    public static void tryMe() {
	// throw new B();
	// throw new NullPointerException();
    }

}

class Ceco extends Throwable {
}